{config_load file="lang/$language/lang_$language.conf" section="account"}
<h1>{#heading_account#}</h1>
{$error_message}
{if $greeting}<p>{$greeting}</p>{/if}
{if $LINK_LOGIN}
	<br />
	<ul class="account_ul">
		<li>
			<a href="{$LINK_LOGIN}">{#text_login#}</a>
		</li>
	</ul><br /><br />
{/if}
<h1>{#title_account#}</h1>
<ul class="account_ul">
	<li><a href="{$LINK_EDIT}">{#text_edit#}</a></li>
	<li><a href="{$LINK_ADDRESS}">{#text_address#}</a></li>
	<li><a href="{$LINK_PASSWORD}">{#text_password#}</a></li>
	{if $LINK_DELETE}<li><a href="{$LINK_DELETE}">{#text_delete#}</a></li>{/if}
</ul>
<br />
<br />
<h1>{#title_notification#}</h1>
<ul class="account_ul">
	<li><a href="{$LINK_NEWSLETTER}">{#text_newsletter#}</a></li>
</ul>
<br />
<br />
{if $MODULE_products_history}
	{$MODULE_products_history}<br /><br />
{/if}
{if $order_content}
	<h1>{#title_orders#}</h1>
	<a href="{$LINK_ALL}">
		{#text_all#}
	</a>
	<div style="width:100%; clear:both">
		{foreach name=aussen item=order_data from=$order_content}
			<fieldset class="account_history">
				<legend><a href="{$order_data.ORDER_LINK}">{$order_data.ORDER_DATE}</a>&nbsp;&nbsp;{#order_nr#}{$order_data.ORDER_ID}</legend>
				{#order_total#}{$order_data.ORDER_TOTAL}<br />
				{#order_status#}{$order_data.ORDER_STATUS}<br />
				{$order_data.ORDER_BUTTON}
			</fieldset>
		{/foreach}
	</div>
{/if}